From 2aa2b7f61e620a3ff8854bbb199ead4052292e46 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Sun, 24 Oct 2021 22:19:36 +0500 Subject: [PATCH] inspector: Clean up the .list style Make it work with the property list as well, handle spinbuttons, adjust paddings so that buttons don't touch each other, don't override horizontal padding unnecessarily. --- gtk/inspector/inspector.css | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/gtk/inspector/inspector.css b/gtk/inspector/inspector.css index aeca38209a..702dc59690 100644 --- a/gtk/inspector/inspector.css +++ b/gtk/inspector/inspector.css @@ -1,24 +1,26 @@ /* some style for the inspector */ -.list .cell { +.list cell { font-size: smaller; - padding: 0 2px; + padding-top: 1px; + padding-bottom: 1px; min-height: 24px; } -.list .cell entry, -.list .cell spinbutton, -.list .cell button, -.list .cell dropdown -.list .cell combobox { +.list cell entry, +.list cell spinbutton, +.list cell button, +.list cell dropdown +.list cell combobox { min-height: 24px; min-width: 0; } -.list .cell entry, -.list .cell button, -.list .cell dropdown -.list .cell combobox { +.list cell entry, +.list cell spinbutton text, +.list cell button, +.list cell dropdown +.list cell combobox { padding: 0 4px; } -- 2.30.2